/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package models;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import lab2.Task;

/**
 *
 * @author Ирина
 */
public class AlertWindowModel {
    private List<Task> tasks = new ArrayList<>();
    private Calendar alertTime;
    private boolean deprecated;
    
    public void setTasks(List<Task> tasks){
        this.tasks = tasks;
    }
    
    public List<Task> getTasks(){
        return tasks;
    }
    
    public void setAlertTime(Calendar alertTime){
        this.alertTime=alertTime;
    }
    public Calendar getAlertTime(){
        return alertTime;
    }
    
    public void setDeprecated(boolean deprecated){
        this.deprecated = deprecated;
    }
    
    public boolean isDeprecated(){
        return deprecated;
    }
}
